package com.hhf.demo_01;

/**
 * @Author: 黄恒锋
 * @DateTime: 2024/5/11 18:17
 * @Description: TODO
 */
public class App {

    public static void main(String[] args) {
        ThreadDemo1 t1 = new ThreadDemo1();
        ThreadDemo1 t2 = new ThreadDemo1();
        t1.setName("线程1");
        t2.setName("线程2");
        t1.start();
        t2.start();
    }
}
